
package com.service.socket.framework.autoconfigure;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.SearchStrategy;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/** 
 *
 *  @desc
 * @version v 0.1
 */
@Configuration
@ConditionalOnMissingBean(value = WatchProperties.class, search = SearchStrategy.ALL)
public class WatchConfiguration {

    @Bean
    @ConfigurationProperties("framework.watch")
    public WatchProperties properties() {
        return new WatchProperties();
    }
}